package com.moonshineproject.plugin.templating.event
{
	import flash.events.Event;
	import flash.filesystem.File;

	public class TemplateEvent extends Event
	{
		public static const CREATE_NEW_FILE:String = "createNewEvent";
		public static const REQUEST_ADDITIONAL_DATA:String = "requestAdditionalData";
		
		public var template:File;
		public var location:File;
		public var templatingData:Object = {};
		
		
		public function TemplateEvent(type:String, template:File, location:File=null)
		{
			this.template = template;
			this.location = location;
			
			super(type, false, true);
		}
		
	}
}